<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        /*let age=17;
        if (age>=18){
            console.log("adult")
        } else {
            console.log("nonage")
        }*/
        let score = 60;
        if (score>=90){
            console.log("excellent")
        } else if (score>=80){
            console.log("well");
        }else if (score>=60){
            console.log("pass");
        }else{
            console.log("fail")
        }
        let day = new Data().getDay();
        let date = new Data().getDate();
        console.log("day=" + day);   //当前周几 从零开始
        console.log("day=" + date);  //当前日期
        switch (day) {
            case 0:
                console.log("周日")；
                break;   //中断，否则会进入后面的case
            case 1:
                console.log("周一");
                break;
            default:
                console.log("不是周日和周一")
        }
        let month=new Data().getMonth();
        console.log("month"+month)
    </script>
</head>
<body>

</body>
</html>